<!DOCTYPE html>
<html lang="cn">
<head>
	<meta charset="UTF-8">
	<title>儿童摄影</title>
    <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
	<link rel="stylesheet" href="css/child.css">
	<link rel="stylesheet" href="css/MomPhotoDetail.css" />
	<link rel="stylesheet" href="css/upWindow.css" />
	<link rel="stylesheet" type="text/css" href="css/base.css" />
	<link rel="stylesheet" type="text/css" href="css/style.css" />
    <script src="bootstrap/js/jquery1.11.3.js"></script>
    <script src="bootstrap/js/bootstrap.min.js"></script><!--平面轮播-->
	<!--<script src="js/ZoomPic.js"></script>-->
    <script type="text/javascript" src="js/register.js"></script>
    <script type="text/javascript" src="js/topPublic.js"></script>
</head>
<body>
<script type="text/javascript" src="js/header.js" ></script>
<div style="background-color: #f7f7f7;">
    <div class="container-fluid">
        <div class="row-fluid">
            <div class="span12">
                <img  src="img/2016-06-12_173820.jpg"  style="width: 100%;margin-bottom: 30px;min-width:1178px;"/>
            </div>
        </div>

        <div class="row-fluid">
            <div class="head-main">
                <div class="row-fluid">
                    <div class="fl" style="width: 285px;">
                        <div class="accordion" id="accordion-190303">
                            <div class="accordion-group">
                                <div class="accordion-heading">
                                    <div class="accordion-toggle child-1" style=" padding-bottom: 20px;padding-top: 20px;margin-bottom: 10px;" data-toggle="collapse" data-parent="#accordion-190303" href="#accordion-element-71038">美国服务 <span style="font-size: 14px;">/ USA Service</span></div>
                                </div>
                                <div id="accordion-element-71038" class="accordion-body in collapse">
                                    <div class="accordion-inner child-package" mid='1' onclick="window.location.href='America.html'">饮食服务<span class="child-package-r">></span>
                                    </div>
                                    <div class="accordion-inner child-package" mid='2' onclick="window.location.href='americatravel.html'">出行旅游<span class="child-package-r">></span>
                                    </div>
                                    <div class="accordion-inner child-package" mid='3' onclick="window.location.href='americachan.html'">产检服务<span class="child-package-r">></span>
                                    </div>
                                    <div class="accordion-inner child-package" mid='4' onclick="window.location.href='americayue.html'">月子服务<span class="child-package-r">></span>
                                    </div>
                                    <div class="accordion-inner child-package" mid='5' onclick="window.location.href='americazheng.html'">办证服务<span class="child-package-r">></span>
                                    </div>
                                    <div class="accordion-inner child-package child-flow" mid='6' onclick="window.location.href='americacamera.html'">儿童摄影<span class="child-package-r">></span>
                                    </div>
                                </div>
                            </div>

					<!--<p class="part">
						<a href="TV.html">
							<img class="img1" src="img/01.png" />
							<img class="img2" src="img/01.png" />
							<span>视频直播</span>
						</a>
					</p>
					<li>
						<img src="img/code.jpg" class="codeimg"/>
						<span class="icon-wechat foot-span sspan"></span>
						<span class="icon-weibo foot-span"></span>
						<p class="foot-p3">扫一扫,了解更多</p>
					</li>
					http://weibo.com/u/1892168731?topnav=1&wvr=6&topsug=1-->
                            <div class="accordion-group">
                                <div class="accordion-heading">
                                    <div class="accordion-toggle collapsed child-2" style=" padding-bottom: 20px;padding-top: 20px;margin-bottom: 10px;" data-toggle="collapse" data-parent="#accordion-190303" onclick="window.open('http://tb.53kf.com/code/client/10130038/1][img]http://tb.53kf.com/kfimg.php?arg=10130038&style=1[/img]','_blank','height=500,width=750,top=220,left=500')">在线咨询</div>
                                </div>
                            </div>
                            <div class="accordion-group">
                                <div class="accordion-heading">
                                    <div class="accordion-toggle collapsed child-3" style=" padding-bottom: 20px;padding-top: 20px;margin-bottom: 10px;" data-toggle="collapse" data-parent="#accordion-190303" onclick="window.location.href='child.html'">套餐参考</div>
                                </div>
                               
                            </div>
                        </div>
                        <div>
                            <div class="child-contact">联系我们 <span style="font-size: 14px;color: #ccc;">/Contact Us</span></div>
                            <p class="top-line" ></p>
                            <div><img src="img/2016-06-07_140314.png" style="width:285px;height:120px;margin-top:10px;margin-bottom:20px;"></div>
                            <div class="child-name">南京圣嘉尔</div>
                            <div class="child-add">地址：南京市秦淮区汉中路</div>
                            <div class="child-add">89号金鹰国际商城24层C3</div>
                            <div class="child-add">电话：400-163-0766</div>
                            <div class="child-add">手机：18625170088</div>
                            <div class="child-add">QQ：2199207469</div>
                        </div>
                    </div>
<!------儿童摄影------>                   
                    <div class="fl mids mainwidth" id="mid6">
                        <div class="flow-title">儿童摄影</div><span class="fl" style="border: 3px solid #eb6100;width:99px;"></span><span class="fr" style="border-bottom:2px solid #EBEBEB;width:755px;height:2px;"></span><div class="clear"></div>
                        <div class="camera1"></div>
                        <div class="camera2"></div>
                        <!--<div class="client-photo">
                        	<div class="pre-flow">客户照片</div>
                        	<div class="photo-carousel-box">
								<a class="arrows left arrowsl" href="#myCarousel2" data-slide="prev">&lsaquo;</a>
				       	 		<a class="arrows right arrowsr" href="#myCarousel2" data-slide="next">&rsaquo;</a>
								<div class="phonto-Box">
									<div class="photo-sbox carousel slide" id="myCarousel2" data-ride="carousel">
										<div id="car" class="carousel-inner car-new">
											
 										</div>
									</div>
								</div>
							</div>
                        </div>-->
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<input type="hidden" value="america" id="navid" />
<script type="text/javascript" src="js/footer.js" ></script>
<script src="js/banner.js"></script>

<script type="text/javascript">
    var detinfo = '';
	$(document).ready(function(){
		submitb(13);
        $("#midDet").css("display","none");
      	$("#mid1").siblings(".mids").css("display","none");
	})
		

//	儿童摄影
	function submitb(tubes){
		$.ajax({
			url:'/baby/imgInfos/getTypeInformation',
			data:{
				type:tubes
			},
			type:'post',
			cache:false,
			dataType:'json',
			success:function(data){
				console.log(data);
				if(data.code == "2000"){
					$(".camera1").text('');
					$(".camera2").text('');
					$(".Mphoto-group").text('');
					var datalist=data.data;
					var title = '';
					var detail = '';
					var strs ='';
					var longtext ='' ,longtextList ='' ;
					var ulList;
					var imgdata=datalist.imgData;
					title= datalist.title ;
					detail= datalist.details;
//					付文本编辑
				   	strs = 	'<div style="margin-left:20px">'+detail+'</div>'+
	                    	'<div class="clear"></div>';
					$(".camera1").append(strs);
//					图片展示
					var len = imgdata.length;
					var li = [] , liList = [];
					for(var j = 0; j < len ; j++){
						var imgurl=imgdata[j].realPicUrl;
						li.push('<li class="Mphoto-group"><img src="'+imgurl+'"></li>');
					}
//					for(var i = 0;i<len;i++){
//						if(i == 0){
//							longtextList = li[i];
//							continue
//						}
//						if(i == len - 1){
//							liList.push(longtextList);
////							longtextList = '';
//						}
//						if(i%5 == 0){
//							liList.push(longtextList);
////							if(i == len - 1){
////								liList.push(longtextList);
////								longtextList = '';
////							}
//							longtextList = li[i];
//						}else{
//							longtextList += li[i];
//						}
//					}
//					for(var i = 0;i<liList.length;i++){
//						if(i == 0 ){
//							ulList ='<ul class="active item">' +liList[i] +'</ul>';
//						}else{
//							ulList +='<ul class="item">' +liList[i] +'</ul>';
//						}
//					}
					$("#car").html(ulList)
				}
			},error:function(data) {
				console.log("服务请求的人太多"+data);
			}
		})
	}
</script>
</body>
</html>